export default {
	methods: {
		navigate(type, params) {
			const url = {
				'goods-detail': 'pages/goods/detail'
			}[type]
			if(url) {
				this.$navTo(url, params)
			}
		}
	}
}